import request from '@/utils/request.js';

// 获取公匙
export const login = (data) => {
	return request(`/login`, 'POST', data)
}

//openai接口
export const openai = (data) => {
	return request(`/api/henau/openai`, 'POST', data)
}

//bi分析接口
export const bi = (formData, params = '') => {
	return request(`/api/gen/chart${params}`, 'POST', formData, true, true)
}
